package repo

import (
	"context"
	"zhongxc.cc/mall-product/internal/model"
)

type PmsSkuInfoRepo interface {
	FindById(ctx context.Context, skuId int64) (*model.PmsSkuInfo, error)
	Save(ctx context.Context, skuInfo *model.PmsSkuInfo) error
	UpdateSaleCount(ctx context.Context, skuId int64, saleCount int64) error
}
